package com.ayf.payment.game.api.entity;

import com.swwx.charm.commons.lang.base.BasicTO;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "g_group_and_partition")
public class GroupAndPartition extends BasicTO {
    private static final long serialVersionUID = 1L;
    /**
     * 分组id
     */
    @Column(name = "groups_id")
    private String groupsId;

    /**
     * 分区id
     */
    @Column(name = "partition_id")
    private String partitionId;

    /**
     * 分组名称
     */
    @Column(name = "group_name")
    private String groupName;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    /**
     * 获取分组id
     *
     * @return groups_id - 分组id
     */
    public String getGroupsId() {
        return groupsId;
    }

    /**
     * 设置分组id
     *
     * @param groupsId 分组id
     */
    public void setGroupsId(String groupsId) {
        this.groupsId = groupsId;
    }

    /**
     * 获取分区id
     *
     * @return partition_id - 分区id
     */
    public String getPartitionId() {
        return partitionId;
    }

    /**
     * 设置分区id
     *
     * @param partitionId 分区id
     */
    public void setPartitionId(String partitionId) {
        this.partitionId = partitionId;
    }
}